#include "headers.h"
#include <fuse.h>

int tagfs_getattr(const char *path, struct stat *stbuf);

int tagfs_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi);

int tagfs_mkdir(const char *, mode_t);

int tagfs_rmdir(const char *);

int tagfs_mknod(const char *, mode_t, dev_t);

int tagfs_read(const char *, char *, size_t, off_t, struct fuse_file_info *);

int tagfs_write(const char *, const char *, size_t, off_t, struct fuse_file_info *);

int tagfs_flush(const char *, struct fuse_file_info *);

int tagfs_unlink(const char *);

int tagfs_setxattr(const char *, const char *, const char *, size_t, int);

int tagfs_utimens(const char *, const struct timespec tv[2]);

int tagfs_chmod(const char *, mode_t);

int tagfs_chown(const char *, uid_t, gid_t);

int tagfs_ftruncate(const char *, off_t, struct fuse_file_info *);

int tagfs_readlink(const char *, char *, size_t);

int tagfs_symlink(const char *, const char *);
